import {HTTP} from '../utils/http'
 
class visitorModel extends HTTP {
  //团队销量，购买记录
  visitorBuy(current,size,type){
    return this.request({
      url: 'user/visitorBuyRecord',
      data: {
        'size' : size || 10,
        'current': current || 1,
        'type': type
      }
    })
  }
  //访问记录，团队成员
  visitor(current,size,type){
    return this.request({
      url: 'user/visitor',
      data: {
        'size' : size || 10,
        'current': current || 1,
        'type': type
      }
    })
  }
}
export {visitorModel}